﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JGGLAdd.aspx.cs" Inherits="JGGL_JGGLAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v12.1, Version=12.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
  Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
  <link href="../images/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <form id="form1" runat="server">
  <table width="615" border="1" cellspacing="0" cellpadding="0" class="table1">
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        用气性质
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:DropDownList ID="ddlYQXZ" runat="server">
        </asp:DropDownList>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        日期
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <table>
          <tr>
            <td>
              <dxe:ASPxDateEdit ID="dateJG" runat="server" EditFormatString="yyyy-MM-dd">
              </dxe:ASPxDateEdit>
            </td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                ControlToValidate="dateJG"></asp:RequiredFieldValidator>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        价格
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
          ControlToValidate="txtName"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeValidator1"
            runat="server" ErrorMessage="请输入数字" ControlToValidate="txtName" MaximumValue="1000000"
            MinimumValue="0.000001" Type="Double"></asp:RangeValidator>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        价格调节基金
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtJGTJJJ" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
          ControlToValidate="txtJGTJJJ"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeValidator2"
            runat="server" ErrorMessage="请输入数字" ControlToValidate="txtJGTJJJ" MaximumValue="1000000"
            MinimumValue="0" Type="Double"></asp:RangeValidator>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        价格文件
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtJGWJ" runat="server" Width="200px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"
          ControlToValidate="txtJGWJ"></asp:RequiredFieldValidator>
      </td>
    </tr>
    <tr>
      <td width="25%" align="right" bgcolor="#E7E7E7">
        备注
      </td>
      <td width="75%" bgcolor="#FFFFFF">
        <asp:TextBox ID="txtBZ" runat="server" Width="200px"></asp:TextBox>
      </td>
    </tr>
  </table>
  <table width="615">
    <tr>
      <td align="center">
        <table>
          <tr>
            <td>
              <dxe:ASPxButton ID="btnConfirm" runat="server" Text="保存" AutoPostBack="False" OnClick="btnConfirm_Click">
                <ClientSideEvents Click="function(s,e) {e.processOnServer = confirm('保存后无法更改，确认保存?')  }" />
              </dxe:ASPxButton>
            </td>
            <td>
              <dxe:ASPxHyperLink ID="ASPxHyperLink1" runat="server" Text="返回" NavigateUrl="JGGLList.aspx" Width="40px">
                <Border BorderWidth="1px" />
              </dxe:ASPxHyperLink>
            </td>
            <td>
              <asp:Label ID="lbMessage" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  </form>
</body>
</html>
